<% if @success %>
  $("#<%= @element_id %>").attr("class","icon small_like").data("method","post").attr("title", "取消赞");
<% else %>
  App.alert("提交失败.")
<% end %>
